package sdk.webview.fmc.com.fmcsdk.bean;

import java.util.List;

/**
 * H5离线上传图片的base64
 * Created by ydm on 2017/11/28.
 */

public class PhotoBase64Bean {

    /**
     * code : 0
     * msg : 成功
     * type : 1
     * data : [{"size":20,"content":"123"}]
     */

    private String code;
    private String msg;
    private String type;
    private List<DataBean> data;
    private String ownerId;

    private String ownerObject;

    private String ownerType;

    private String localImageUri;

    public String getLocalImageUri() {
        return localImageUri;
    }

    public void setLocalImageUri(String localImageUri) {
        this.localImageUri = localImageUri;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * size : 20
         * content : 123
         */

        private String size;//base64大小
        private String content;//base64字节流
        private String id;//用来标记图片的时间戳，在数据库叫timeStamp
        public String getSize() {
            return size;
        }
        private String ids;//

        public String getIds() {
            return ids;
        }

        public void setIds(String ids) {
            this.ids = ids;
        }

        public void setSize(String size) {
            this.size = size;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }

    public String getOwnerObject() {
        return ownerObject;
    }

    public void setOwnerObject(String ownerObject) {
        this.ownerObject = ownerObject;
    }

    public String getOwnerType() {
        return ownerType;
    }

    public void setOwnerType(String ownerType) {
        this.ownerType = ownerType;
    }
}
